#!/usr/bin/env python
#coding=utf-8
#filename=2-7a

#while循环和字符串，逐字符显示字符串

a = raw_input('Enter Number:')
b = len(a)
c = 0

while c < b:
    print a[c],
    c = c + 1
    
#updata
a = raw_input('Enter Number:')
b = 0

while b < len(a):
    print a[b],
    b = b + 1
